package com.ygqh.baby.ao;

public enum CodeConstant {

	NotLogin("002","请先登录"),
	ErrorStatus("101","状态有误"),
	Success("200","成功"),
	Error("400","系统异常"),
	Error404("404","地址有误"),
	ParamNotNull("410","参数不能为空/null"),
	ThirdApiError("450","手机号不存在"),
	
	VCodeError("501","验证码错误"),
	VCodeSendCountOver("502","发送验证码超过限定值"),
	VCodeSendHighFrequency("503","发送验证码过于频繁"),
	PhoneExist("600","手机号已存在"),
	PhoneNotExist("601","手机号不存在"),
	
	End("","");
	
	/** 状态码 */
	private String code;
	/** 状态名称 */
	private String title;

	CodeConstant(String code, String title) {
		this.code = code;
		this.title = title;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
}
